package cloud.xlh.my_system.mapper;

import cloud.xlh.my_system.pojo.User;
import org.apache.ibatis.annotations.Param;

/**
 * Created with IntelliJ IDEA.
 *
 * @ project name : xlh_osms
 * @ Author: XuLeHuang
 * @ Date: 2022/5/29 15:41
 * @ Description:
 */
public interface UserMapper {
    User findUserByName(String userName);

    void addUsers(User user);

    User findByNameAndPassword(@Param("name") String name , @Param("password")String password);
}
